<%@ Register TagPrefix="dammela" Namespace="whole" Assembly = "dammela" %>
<%@ Page Language="C#" Description="Homepage" debug="false" trace="false" EnableViewState="false"%>
<%@ Import Namespace="dammelau"%>

<script language="C#" runat=server>
void Page_Load(Object sender, EventArgs EvArgs) {
//    sqlUtil sqlu = new    sqlUtil();

//    string userid = "";

//    if( Page.Request.QueryString.Get("userid") != null )
//        userid = Page.Request.QueryString.Get("userid").Replace("'","''");
//    if( Page.Request.QueryString.Get("userGuid") != null )
//        userid = Page.Request.QueryString.Get("userGuid").Replace("'","''");

//    int res = sqlu.Int32FromSP("select count(*) from mela_users_video where userid='"+userid.ToUpper()+"'") ;
/////*
//Trace.Write(Page.Request.Url.Query);
//Trace.Write(Page.Request.Url.PathAndQuery);
//Trace.Write(Page.Request.Url.Host);
//Trace.Write("http://"+Page.Request.Url.Host+"/userinfo"+Page.Request.Url.PathAndQuery);
//Trace.Write("res:"+res);
////*/
//if( res > 0 )	
//    Page.Response.Redirect("http://"+Page.Request.Url.Host+"/userinfo"+Page.Request.Url.PathAndQuery);
}
</script>

<html>
<head>
<LINK type="text/css" rel="stylesheet" href="/main.css">
<LINK type="text/css" rel="stylesheet" href="/css/sweetTitles.css">
<LINK type="text/css" rel="stylesheet" href="/css/accordion.css">
<meta http-equiv="Content-Type" Content="text/html; charset=UTF-8">
<title id="title" runat=server></title>

	<script type="text/javascript" src="/jscripts/addEvent.js"></script>
	<script type="text/javascript" src="/jscripts/sweetTitles.js"></script>

	<script type="text/javascript" src="/jscripts/prototype.js"></script>
	<script type="text/javascript" src="/jscripts/effects.js"></script>
	<script type="text/javascript" src="/jscripts/accordion.js"></script>

<dammela:scripts ID="Scripts1" runat="server"/>

</head>
<body id="body" runat="server">

<dammela:menuBanner runat=server/>

<table class="maintable" border="0" cellspacing="0" cellpadding="0" width="760px">
<tr><td valign="top">

<div id="loginbox">
<dammela:login ID="Login1" 
    xml="/login/login.xml"
    xsl="/login/login.xsl"
    kind="FREAKMEUP"
    runat="server"/>
</div>
<div id="cercabox">
<dammela:cerca ID="Cerca1" look="HOME" runat="server"/>
</div>

</td>
<td valign="top" width="100%">
<div id="mainbox">
<div><dammela:showProfile show="PROFILE" runat=server/></div>
</div>
</td>

</tr>

</table>
<dammela:footer runat=server/>


</body>
</html>